/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __8B847507_000A_4030_8CCD_A9B4F49560EE__
#define __8B847507_000A_4030_8CCD_A9B4F49560EE__

#include "../tools/head.h"
#include "include_odbc.h"

namespace xos_odbc
{

    class odbc_desc : public xos_stl::mem_item< xos::release_impl< odbc_desc >, thread_lock >,
		public i_desc
    {
    public:
        typedef xos::release_impl< odbc_desc > T;

    public:
        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //
        static int get_xos_item_data( ITEM_DATA*& item_ptr );

    public:
        odbc_desc();
        ~odbc_desc();

    protected:
        int init_data();

    public:
        int init();
        int term();

    };

} // xos_odbc

#endif // __8B847507_000A_4030_8CCD_A9B4F49560EE__
